P+ - Meta Knight - Action - 0x11b
Entry Script
- CreateInterrupt { interrupt_id: Some(9992), action: LandingFallSpecial, requirement: (OnGround) }
- CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10002), action: FallSpecial, requirement: (AnimationEnd) }
- DisableInterrupt(9992)
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc5c)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 474 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 475 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 2 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam2), value: 3 }
- else
- if ((InternalConstantInt(ControlStickXAxisRelative) LessThan scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 476 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 477 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 4 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam2), value: 5 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 478 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 479 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 6 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam2), value: 7 }
- UnknownEvent { namespace: 0x9, code: 0x0, unk1: 0x0, arguments: [Value(2)] }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x1)))
- IfStatementAnd ((InternalConstantInt(CurrentFrame) GreaterThanOrEqual scalar(15)))
- SetAirGround(6)
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x1)))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Bool(true)] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 }), Bool(true)] }
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- EnableInterrupt(10000)
- DisableInterrupt(10002)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- else
- SetEdgeSlide(Airbourne)
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x0)))
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 3 }), Bool(true)] }
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- DisableInterrupt(10000)
- EnableInterrupt(10002)
- LoopRest
- if (InAir)
- IfStatementAnd (BoolIsTrue RandomAccessBool(EnableActionTransition))
- UnknownEvent { namespace: 0x0, code: 0x6, unk1: 0x0, arguments: [] }
Exit Script
- ChangeHurtBoxStateAll { state: Normal }
- UnknownEvent { namespace: 0xb, code: 0x2, unk1: 0x0, arguments: [Bool(true)] }
- ArticleAnimation(0)
- ModelChanger { reference: 1, switch_index: 2, bone_group_index: 0 }